import tkinter as tk
from data.data_out import get_data

# get data
# {"points": "87", "taster_name": "Roger Voss", "price": "cheap",
# "variety": "Portuguese Red", "province": "Douro", "country": "Portugal"}



def supply(event):
    country = country_entry.get()
    province = province_entry.get()
    grape = grape_entry.get()
    price = price_entry.get()
    print(country, province, grape, price)
    data_str.set(data_json[1])




#window.update_idletasks()
#window.after_idle(supply)
window.mainloop()
